package com.yaolisheng;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author yaolisheng
 * @version 1.0
 * @date 2021/5/4 1:48
 */

@SpringBootApplication
//自动在服务启动后注册到eureka中
@EnableEurekaClient
//服务发现~
@EnableDiscoveryClient
public class ProviderYls8003Application {
    public static void main(String[] args) {
        SpringApplication.run(ProviderYls8003Application.class,args);
    }
}
